<?php

namespace app\validate;

use think\Validate;

class LoginValidate extends Validate
{
    protected $rule = [
        'account'  =>  'require',
        'password' =>  'require'
    ];
    protected $message = [
        'account.require' => '账号不能为空',
        'password.require' => '密码不能为空'
    ];
}